package com.uzai.common.msg;

import java.io.Serializable;

/**
 * @Auther: jianghan
 * @Date: 2021/9/15 14:46
 * @Description:
 */
public class MsgDto<T> implements Serializable {
    private static final long serialVersionUID = -7882950408248491705L;
    private Long id;
    private Long merId;
    private Long deviceUniqueId;
    private Integer deviceType;
    private Integer msgType;
    private T content;
    private int retry;
    private int delay;
    private boolean csMsg; //是否为客服消息（是客服消息不走悠聊）

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMerId() {
        return merId;
    }

    public void setMerId(Long merId) {
        this.merId = merId;
    }

    public Long getDeviceUniqueId() {
        return deviceUniqueId;
    }

    public void setDeviceUniqueId(Long deviceUniqueId) {
        this.deviceUniqueId = deviceUniqueId;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getMsgType() {
        return msgType;
    }

    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }

    public T getContent() {
        return content;
    }

    public void setContent(T content) {
        this.content = content;
    }

    public int getRetry() {
        return retry;
    }

    public void setRetry(int retry) {
        this.retry = retry;
    }

    public int getDelay() {
        return delay;
    }

    public void setDelay(int delay) {
        this.delay = delay;
    }

    public boolean isCsMsg() {
        return csMsg;
    }

    public void setCsMsg(boolean csMsg) {
        this.csMsg = csMsg;
    }
}
